package edu.groupservice.entity;

import javax.persistence.*;

/**
 * Created by JPhoebe on 2017-7-8.
 */

@Entity
@Table(name = "group_")
public class Group {

    @Id
    private Integer id;
    @Column
    private String name;
    @Column
    private Integer user_id;

    @Transient
    private Integer requestPort;


    public Integer getRequestPort() {
        return requestPort;
    }

    public void setRequestPort(Integer requestPort) {
        this.requestPort = requestPort;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }
}
